package com.ian.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultMsg implements Serializable {
    private Integer code;
    private String msg;

    public final static ResultMsg LOGIN_SUCCESS = new ResultMsg(7001, "登录成功");
    public final static ResultMsg LOGIN_FAILED = new ResultMsg(-7001, "登录失败");
}
